package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 冯政尚
 * @since 2018-09-14
 */
@TableName("tr_vip")
public class TrVip extends Model<TrVip> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 姓名
     */
	private String name;
    /**
     * 性别
     */
	private String sex;
    /**
     * 出生日期
     */
	private Long birth;
    /**
     * 大概预产期
     */
	private Long childbirth;
    /**
     * 家庭住址
     */
	private String address;
    /**
     * 成交日期
     */
	@TableField("DateOf_transaction")
	private Long DateOfTransaction;
    /**
     * 手机号
     */
	private Long phone;
    /**
     * 微信
     */
	private String weixin;
    /**
     * 沟通时长
     */
	@TableField("how_long")
	private String howLong;
    /**
     * 客户渠道
     */
	@TableField("customer_source")
	private String customerSource;
    /**
     * 是否接送
     */
	private String Relay;
    /**
     * 有没有产前陪护或者其他
     */
	@TableField("Prenatal_escort")
	private String PrenatalEscort;
    /**
     * 套餐项
     */
	@TableField("set_meal")
	private String setMeal;
    /**
     * 有没有特殊要求
     */
	@TableField("special_requirements")
	private String specialRequirements;
    /**
     * 有无病历史
     */
	private String disease;
    /**
     * 计划生产医院
     */
	private String hospital;
    /**
     * 订单状态 1成功2未成功
     */
	@TableField("order_status")
	private Integer orderStatus;
    /**
     * 创建日期
     */
	@TableField("createTime")
	private Long createTime;
    /**
     * 录入人
     */
	private String person;
	/**
	 * 定金
	 */
	@TableField("set_money")
	private Integer setMoney;
	/**
	 * 是否退房 1退房 2未退房
	 */
	@TableField("whether_home")
	private Integer whetherHome;
	/**
	 * 房间id
	 */
	@TableField("home_id")
	private Long homeId;
	/**
	 * 房间名字
	 * @return
	 */
	@TableField(exist = false)
	private String room_name;
	/**
	 * 套餐项名字
	 * @return
	 */
	@TableField(exist = false)
	private String mealName;

	@TableField("areaid")
	private Long areaid;


	public Long getAreaid() {
		return areaid;
	}

	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}

	public String getMealName() {
		return mealName;
	}

	public void setMealName(String mealName) {
		this.mealName = mealName;
	}

	public String getRoom_name() {
		return room_name;
	}

	public void setRoom_name(String room_name) {
		this.room_name = room_name;
	}

	public Integer getWhetherHome() {
		return whetherHome;
	}

	public void setWhetherHome(Integer whetherHome) {
		this.whetherHome = whetherHome;
	}

	public Long getHomeId() {
		return homeId;
	}

	public void setHomeId(Long homeId) {
		this.homeId = homeId;
	}

	public Integer getSetMoney() {
		return setMoney;
	}

	public void setSetMoney(Integer setMoney) {
		this.setMoney = setMoney;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Long getBirth() {
		return birth;
	}

	public void setBirth(Long birth) {
		this.birth = birth;
	}

	public Long getChildbirth() {
		return childbirth;
	}

	public void setChildbirth(Long childbirth) {
		this.childbirth = childbirth;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getDateOfTransaction() {
		return DateOfTransaction;
	}

	public void setDateOfTransaction(Long DateOfTransaction) {
		this.DateOfTransaction = DateOfTransaction;
	}

	public Long getPhone() {
		return phone;
	}

	public void setPhone(Long phone) {
		this.phone = phone;
	}

	public String getWeixin() {
		return weixin;
	}

	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}

	public String getHowLong() {
		return howLong;
	}

	public void setHowLong(String howLong) {
		this.howLong = howLong;
	}

	public String getCustomerSource() {
		return customerSource;
	}

	public void setCustomerSource(String customerSource) {
		this.customerSource = customerSource;
	}

	public String getRelay() {
		return Relay;
	}

	public void setRelay(String Relay) {
		this.Relay = Relay;
	}

	public String getPrenatalEscort() {
		return PrenatalEscort;
	}

	public void setPrenatalEscort(String PrenatalEscort) {
		this.PrenatalEscort = PrenatalEscort;
	}

	public String getSetMeal() {
		return setMeal;
	}

	public void setSetMeal(String setMeal) {
		this.setMeal = setMeal;
	}

	public String getSpecialRequirements() {
		return specialRequirements;
	}

	public void setSpecialRequirements(String specialRequirements) {
		this.specialRequirements = specialRequirements;
	}

	public String getDisease() {
		return disease;
	}

	public void setDisease(String disease) {
		this.disease = disease;
	}

	public String getHospital() {
		return hospital;
	}

	public void setHospital(String hospital) {
		this.hospital = hospital;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "TrVip{" +
				"areaid=" + areaid +
				", id=" + id +
				", name='" + name + '\'' +
				", sex='" + sex + '\'' +
				", birth=" + birth +
				", childbirth=" + childbirth +
				", address='" + address + '\'' +
				", DateOfTransaction=" + DateOfTransaction +
				", phone=" + phone +
				", weixin='" + weixin + '\'' +
				", howLong='" + howLong + '\'' +
				", customerSource='" + customerSource + '\'' +
				", Relay='" + Relay + '\'' +
				", PrenatalEscort='" + PrenatalEscort + '\'' +
				", setMeal='" + setMeal + '\'' +
				", specialRequirements='" + specialRequirements + '\'' +
				", disease='" + disease + '\'' +
				", hospital='" + hospital + '\'' +
				", orderStatus=" + orderStatus +
				", createTime=" + createTime +
				", person='" + person + '\'' +
				", setMoney=" + setMoney +
				", whetherHome=" + whetherHome +
				", homeId=" + homeId +
				", room_name='" + room_name + '\'' +
				", mealName='" + mealName + '\'' +
				'}';
	}
}
